using SanJ.FreeCare.Web.Pages.Medications;
using Volo.Abp.AutoMapper;
using SanJ.FreeCare.Medications;
using AutoMapper;

namespace SanJ.FreeCare.Web;

public class FreeCareWebAutoMapperProfile : Profile
{
    public FreeCareWebAutoMapperProfile()
    {
        //Define your object mappings here, for the Web project

        CreateMap<MedicationDto, MedicationUpdateViewModel>();
        CreateMap<MedicationUpdateViewModel, MedicationUpdateDto>();
        CreateMap<MedicationCreateViewModel, MedicationCreateDto>();
    }
}